POV-Ray : Newsgroups : povray.newusers : changing declared values? : Re: changing declared values? Server Time
5 Nov 2024 15:56:25 EST (-0500)
  Re: changing declared values?  
From: Margus Ramst
Date: 12 Jul 1999 10:39:08
Message: <3789FE24.8694E7BD@peak.edu.ee>
Certainly. In fact, #while loops are generally done using this.
Example:

#declare C=0;

#while (C<10)
#declare C=C+1;
#end

Eitan Tal wrote:
> 
> is it possible to change values that have already been declared? like,
> #declare a = 2
> #declare a = a*a
> #declare a = a*a
> 
> and so on...?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.